package com.cxs.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Project: wechat-push
 * @Author: cxs2014501@163.com
 * @Create: 2023/9/7 9:51
 * @Description:
 **/
@Data
@Component
public class CommonConfig {

    @Value("${wechat.app-id}")
    private String appId;

    @Value("${wechat.secret}")
    private String secret;

    @Value("${wechat.get-token-url}")
    private String tokenUrl;

    @Value("${wechat.template_id}")
    private String templateId;

    @Value("${wechat.touser}")
    private String touser;


    @Value("${baidu.district_id}")
    private String baiduDistrictId;

    @Value("${baidu.ak}")
    private String baiduAk;

    @Value("${baidu.weather-url}")
    private String baiduWeatherUrl;

    @Value("${tianxing.key}")
    private String tianxingKey;

    @Value("${tianxing.caihongpi-url}")
    private String tianxingCaihongpiUrl;
}
